#pragma once

#include <d3d9.h>
#pragma comment(lib, "d3d9.lib")
#include <d3dx9.h>
#pragma comment(lib, "d3dx9.lib")
#include "Vector.hpp"
#include "Globals.h"
//using namespace std;
class Menu
{
private:
	XYZ                 m_position;
	XYZ                 m_center;
	XYZ			        m_scale;  
	const char*         m_fileName;
	RECT                m_button;

	Menu(){m_position=set(0,0,0); m_scale=set(0,0,0); m_fileName=NULL;};
	Menu(XYZ pos,XYZ scale,const char* fName){m_position=pos; m_scale=scale; m_fileName=fName;}

public:
	inline static Menu* Engine()      
	{	static Menu m; return &m;	}

	
	void Init(XYZ center, XYZ pos,XYZ scale,const char* fName);
	bool Update(HWND hWnd);
	XYZ retPos(){return m_position;}
	XYZ retScale(){return m_scale;}
	void setCenter(XYZ cent){m_center=cent;}
	XYZ retCenter(){return m_center;}
};